<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!doctype html>
<html class="no-js">
<head>
    <%@ include file="./../common/meta.jsp" %>
    <%--<link rel="stylesheet" href="../../css/echu.css">--%>
    <link rel="stylesheet" href="../../css/ecshop-list.css">
</head>
<body>
<header data-am-sticky class="am-header am-header-default am-no-layout">
    <div class="am-header-left am-header-nav">
        <a href="../index.jsp" class="" id="last">
            <i class="am-header-icon am-icon-chevron-left"></i>
        </a>
    </div>
    <h1 class="am-header-title">衣橱管理</h1>
</header>


<div class="am-g">
    <div data-am-tabs="" class="am-tabs">
        <div class="cataParent-box">
            <ul id="catlog" class="cataParent">
            </ul>
        </div>
    </div>
</div>


<div data-am-widget="list_news" class="am-list-news am-list-news-default" id="content">

    <div class="am-list-news-bd">

        <ul class="am-list ">
        </ul>
    </div>
</div>

<div class="am-list-news-ft" style="display:none" id="more">
    <a class="am-list-news-more am-btn am-btn-default" id="pageNo" data="1">查看更多 &raquo;</a>
</div>

<%@ include file="./../common/footerNav.jsp" %>
<%@ include file="./../common/footer.jsp" %>
<script src="../../js/echu/echu.js"></script>


<script>
    var from = "<%=request.getParameter("from")%>";
    if(from =="system"){
        $("#last").attr("href","../settings/settings.jsp");
    }


</script>


<script id="catlog-template" type="text/x-handlebars-template">
    {{#each catalogList}}
    <li t="{{id}}">
        <a class="am-btn am-btn-default catlog" href="#" data="{{id}}">{{name}}</a>
    </li>
    {{/each}}
</script>


<script id="yichu-template" type="text/x-handlebars-template">
    {{#each list}}
    <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-left">
        <div class="am-u-sm-4 am-list-thumb">
            <a href="#" class="">
                <img src="{{productUrl}}" alt="{{productName}}"/>
            </a>
        </div>

        <div class=" am-u-sm-8 am-list-main">
            <div class="am-list-item-text">商品名称:{{productName}}</div>
            <div class="am-list-item-text">加入时间:{{createTime}}</div>

        </div>
    </li>
    {{/each}}
</script>


</html>